﻿package com.tudou.track
{
    import com.tudou.config.*;
    import com.tudou.model.*;
    import com.tudou.utils.*;
    import flash.net.*;
    import flash.system.*;

    public class New6Tracker extends Object
    {

        public function New6Tracker()
        {
            return;
        }// end function

        public static function send(param1:IMainInfo) : void
        {
            var _loc_2:Array = [param1.cvid, param1.sourceId, param1.channelId, param1.areaCode, param1.userId, param1.lid, param1.iid, param1.videoTotalTime, param1.repasterId, param1.lastPlayIID, int(param1.lastPlayTime), param1.fuid, param1.juid, param1.seid, Capabilities.version, param1.playerName, encodeURIComponent(param1.href), encodeURIComponent(param1.refferURL), param1.tpa, "resourceId=" + param1.resourceId];
            var _loc_3:* = new URLRequest(Config.NEW6_EVENT_URL);
            var _loc_4:* = new URLVariables();
            new URLVariables().s = _loc_2.join("|");
            _loc_4.noCache = RandString.noCache;
            _loc_3.data = _loc_4;
            sendToURL(_loc_3);
            return;
        }// end function

    }
}
